package yuandaima;
public abstract class Animal {
 protected String name;
 public Animal(String name) {
     this.name = name;
 }
 public String getName() {
     return name;
 }
 public abstract void cry();

 public abstract String getAnimalName();
}